package com.ruoyi.mapper.achievements;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AcvTpMapper {

    List<Map<String, Object>> findTwoDept(Map map);

    List<Map<String, Object>> findThreeDept(Map map);

    List<Map<String, Object>> findJobByDeptId(Map map);

    int findIsExistenceDept(String deptName);

    int findIsExistenceJobByDept(@Param("deptName") String deptName, @Param("jobName") String jobName);

    int insertTemplateData(List<Map<String, Object>> list);

    int updateTemplateData();

    int updateTemplateDataByJobId(String jobId);

    int insertTemplateDataByJobId(@Param("list") List<Map<String, Object>> list, @Param("jobId") String jobId);

    List<Map<String, Object>> findAssessmentDataByJobId(String jobId);

    List<Map<String, Object>> findTemplateDataByJobId(String jobId);
}

